package org.example.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.domain.NitAdmin;

@Mapper
public interface NitAdminMapper {

    @Select("SELECT * FROM nit_admin WHERE account=#{account} AND password=#{password} LIMIT 1;")
    NitAdmin login(NitAdmin nitAdmin);

}
